
package net.mywardrobes.clothescategory;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for ClothesCategory complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ClothesCategory">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="clothesCategoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="clothesCategoryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="parentCategory" type="{http://www.mywardrobes.net/ClothesCategory}ClothesCategory"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ClothesCategory", propOrder = {
    "clothesCategoryId",
    "clothesCategoryName",
    "parentCategory"
})
@Entity
public class ClothesCategory {

    @XmlElement(required = true)
    protected String clothesCategoryId;
    @XmlElement(required = true)
    protected String clothesCategoryName;
    @XmlElement(required = true)
    protected ClothesCategory parentCategory;

    /**
     * Gets the value of the clothesCategoryId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
	@Id
	//@GeneratedValue
    public String getClothesCategoryId() {
        return clothesCategoryId;
    }

    /**
     * Sets the value of the clothesCategoryId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setClothesCategoryId(String value) {
        this.clothesCategoryId = value;
    }

    /**
     * Gets the value of the clothesCategoryName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getClothesCategoryName() {
        return clothesCategoryName;
    }

    /**
     * Sets the value of the clothesCategoryName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setClothesCategoryName(String value) {
        this.clothesCategoryName = value;
    }

    /**
     * Gets the value of the parentCategory property.
     * 
     * @return
     *     possible object is
     *     {@link ClothesCategory }
     *     
     */
    @ManyToOne
    public ClothesCategory getParentCategory() {
        return parentCategory;
    }

    /**
     * Sets the value of the parentCategory property.
     * 
     * @param value
     *     allowed object is
     *     {@link ClothesCategory }
     *     
     */
    public void setParentCategory(ClothesCategory value) {
        this.parentCategory = value;
    }

}
